package org.example.myleet.p495;

import org.example.myleet.Utils.Assert;

public class Main {
    public static void main(String[] args) {
        Solution solution = new Solution();
        Assert.isTrue(4 == solution.findPoisonedDuration(new int[]{1,4}, 2));
        Assert.isTrue(3 == solution.findPoisonedDuration(new int[]{1,2}, 2));
    }
}
